package org.dromara.work.domain.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 备案信息业务对象 beian_info
 *
 * @author Chen
 * @date 2024-01-16
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BeianInfoSaveBo extends BaseEntity {

    /**
     * $column.columnComment
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 备案标题
     */
    @NotBlank(message = "备案标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String title;

    /**
     * 批文号
     */
    @NotBlank(message = "批文号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pwh;

    /**
     * 批准日期
     */
    private String pzsj;

    /**
     * 批准机关
     */
    @NotBlank(message = "批准机关不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pzjg;

    /**
     * 备案报告
     */
   // @NotBlank(message = "备案报告不能为空", groups = { AddGroup.class, EditGroup.class })
    private String babg;

    /**
     * 批复文件
     */
   // @NotBlank(message = "批复文件不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pfwj;

    /**
     * 命名申请书
     */
    //@NotBlank(message = "命名申请书不能为空", groups = { AddGroup.class, EditGroup.class })
    private String mmsqs;

    /**
     * 其它资料
     */
    private String qtzl;

    /**
     * 备注
     */
    private String remark;

    /**
     * 地名ID
     */
    private String[] dmIds;


}
